package com.alibaba.citrus.cr.sales.plan.api.salesplan.publish;

import com.alibaba.citrus.cr.sales.plan.dto.api.request.PageQueryPlanScItemExtendRequest;
import com.alibaba.citrus.cr.sales.plan.dto.api.response.SalesPlanScItemStatSubTotalResponse;
import com.alibaba.citrus.cr.sales.plan.dto.api.response.SalesPlanSubTotalResponse;
import com.alibaba.citrus.cr.sales.plan.sdo.SalesPlanScItemExtendSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import java.util.List;

/**
 * @author zls
 * @description: 月度计划发布相关接口
 * @date 2021-10-14 19:10
 */
@MeshFlowService(apps = {"bc_order"}, name = "salesPlanPublishQueryService")
public interface SalesPlanPublishQueryService {

    /**
     * 计划-货品维度扩展表-列表查询（发布页）
     *
     * @param PageQueryPlanScItemExtendRequest
     * @return
     */
    Result<PageResult<List<SalesPlanScItemExtendSDO>>> pageQueryPlanScItemExtendList(PageQueryPlanScItemExtendRequest PageQueryPlanScItemExtendRequest);

    /**
     * 计划-货品维度扩展表-小计信息查询（发布页）
     *
     * @param pageQueryPlanScItemExtendRequest
     * @return
     *
     */
    Result<SalesPlanSubTotalResponse> queryPublicStat(PageQueryPlanScItemExtendRequest pageQueryPlanScItemExtendRequest);

}
